﻿namespace WriterStars.Data.Repository
{
    using System.Collections.Generic;
    using System.Linq;
    using WriterStars.Model;

    public interface ILikesRepository : IRepository<Like>
    {
        IQueryable<Like> GetByBookId(int id);

        IQueryable<Like> GetByUserId(string id);

        Like GetUserBookLike(string userId, int bookId);
    }
}
